import Vue from 'vue'

export default {
    fetch: (article) => Vue.http.get('get_article', {article}),
    fetchArticleHeader: (article) => Vue.http.get('get_article_header', {article}),
    fetchArticleCateg: () => Vue.http.get('get_article_categ'),
    fetchArticlesByCateg: (categ_id) => Vue.http.get('get_articles_by_category', {categ_id}),
}
